package pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author yujiafan
 * @version 1.0.0
 * @create 2023-03-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class DoubleNode {

    public int value;
    public DoubleNode last;
    public DoubleNode next;

    public DoubleNode(int value) {
        this.value = value;
    }
}
